require.config({
    baseUrl : '/',//如果不手动配置的话，默认是包含运行requireJS的Html的目录
    paths : {
        //一些库文件
        'jquery'  : 'node_modules/jquery/dist/jquery',
        'angular' : 'node_modules/angular/angular',
        'uiroute' : 'node_modules/angular-ui-router/release/angular-ui-router',
        'domReady': 'vendor/domReady.min',
        'app'  : 'scripts/app',
        'route':'scripts/route'
    },
    shim : {
        'angular' : {
            exports : 'angular'
        },
        'uiroute' : {
            deps : ['angular'],
            exports : 'uiroute'
        }
    },
    urlArgs : "bust=" + (new Date()).getTime()//防止读取缓存，调试用

})
define(['require',
        'angular',
        'uiroute',
        'jquery',
        'domReady',
        'app',
        'route'
        ], function(require, angular){
            'use strict';
            require(['domReady'], function(document){
                angular.bootstrap(document, ['webapp']);//手动加载angularjs应用

            })
        })
